{template header_static.html}
<body>
    <div class="body">
        {template header.html}
        <section class="w-container bannerBox ">
            <?php $neiyebanner=dr_site_value('neiyebanner');?>
            <?php if ($neiyebanner) { $key=0; foreach ($neiyebanner as $v) { ?>
            {if $key==3}
            <div class="banner"> 
                <img src="{dr_get_file($v[2])}" alt="" title="" style=" "> 
            </div>
            {/if}
            <?php  $key++; } } ?> 
            <style type="text/css">
                .banner img {
                    width: 100%;
                }
            </style>
        </section>
    <div class="w-container w-main">
      <div class="w-section pdTop-big pdBottom-large">
        <div class="row" style="max-width:1000px;">
          <div class="row-mask"></div>
          <div class="wrap-content-in  pdTop-default pdBottom-default">
            <div class="li-div">
              <div class="w-title w-title30 border_colorleft_main" style="">
                <div class="w-title-inner">
                  <div class="title-h-in">
                    <div class="tith ">
                      <h2 style="" data-type="title">在线留言 </h2>
                      <span class="color_vice_light" style="" data-type="subtitle"></span>
                    </div>
                  </div>
                </div>
              </div>
            </div>
            <div class="li-div">
              <div class="w-text" style="">
                <div style="line-height:2;">
                  <p style="text-align: center;">地址：这里是您的公司地址&nbsp;</p>
                  <p style="text-align: center;">电话：400-123-4567</p>
                  <p style="text-align: center;">传真：+86-123-4567</p>
                  <p style="text-align: center;">邮编：000000</p>
                  <p style="text-align: center;">邮箱：admin@youweb.com</p>
                  <p><br></p>
                  <p style="text-align: center;"><iframe class="ueditor_baidumap"
                      src=""
                      frameborder="0" width="534" height="344"></iframe></p>
                  <p><br></p>
                </div>
              </div>
            </div>
            <div class="li-div">
              <div class="w-space space-b noChoose" style="height:30px;">
                <div class="stretch-b"></div>
              </div>
            </div>
            <div class="li-div">
              <div class="w-form" style="">
                <form method="POST" class="guest-form" enctype="multipart/form-data"
                  action="/4509/index.php?m=home&c=Lists&a=gbook_submit&lang=cn" id="myform">
                  <div class="li-div">
                    <div class="w-form-section  clearfix" style="">
                      <div class="w-form-shartText">
                        <label class="w-label-form"> <span>姓名</span> <span class="star_note">*</span> </label>
                        <div class="" style="">
                          <input class="w-text-form" style="width:100%" type="text" name="attr_1" id="attr_1">
                        </div>
                      </div>
                    </div>
                  </div>

                  <div class="li-div">
                    <div class="w-form-section  clearfix" style="">
                      <div class="w-form-tel">
                        <label class="w-label-form"> <span>电话</span> <span class="star_note">*</span> </label>
                        <div class="" style="">
                          <input class="w-text-form" style="width:100%" type="tel" name="attr_2" id="attr_2">
                        </div>
                      </div>
                    </div>
                  </div>

                  <div class="li-div">
                    <div class="w-form-section  clearfix" style="">
                      <div class="w-form-Email">
                        <label class="w-label-form"> <span>邮箱</span> <span class="star_note">*</span> </label>
                        <div class="" style="">
                          <input class="w-text-form" style="width:100%" type="email" name="attr_3" id="attr_3">
                        </div>
                      </div>
                    </div>
                  </div>

                  <div class="li-div">
                    <div class="w-form-section clearfix" style="">
                      <div class="w-form-largeText">
                        <label class="w-label-form"> 留言内容 <span class="star_note">*</span> </label>
                        <div class="" style="">
                          <textarea class="w-textarea-form" style="width:100%;" name="attr_4" id="attr_4"></textarea>
                          <input class="w-text-form" type="hidden">
                        </div>
                      </div>
                    </div>
                  </div>


                  <div class="w-form-submit">
                    <div class="w-buttom" style="">
                      <div class="btn-default-w g-form-components" onclick="checkForm();"> <span
                          class="btn-inner">提交</span> </div>
                    </div>
                  </div>
                  <input type="hidden" name="typeid" value="4"><input type="hidden"
                    name="__token__a4283bef2607e411dbf4f3f586aeabd0" id="a4283bef2607e411dbf4f3f586aeabd0" value="">
                  <script type="text/javascript">
                    function ey_fleshVerify(id) {
                      var src = "/4509/index.php?m=api&c=Ajax&a=vertify&type=guestbook&lang=cn";
                      if (src.indexOf('?') > -1) {
                        src += '&';
                      } else {
                        src += '?';
                      }
                      src += 'r=' + Math.floor(Math.random() * 100);
                      document.getElementById(id).src = src;
                    }

                    function feaa3b1b5a17089ce6e2cb9a122c4a6ec() {
                      //步骤一:创建异步对象
                      var ajax = new XMLHttpRequest();
                      //步骤二:设置请求的url参数,参数一是请求的类型,参数二是请求的url,可以带参数,动态的传递参数starName到服务端
                      ajax.open("get",
                        "/4509/index.php?m=api&c=Ajax&a=get_token&name=__token__a4283bef2607e411dbf4f3f586aeabd0",
                        true);
                      // 给头部添加ajax信息
                      ajax.setRequestHeader("X-Requested-With", "XMLHttpRequest");
                      //步骤三:发送请求+数据
                      ajax.send();
                      //步骤四:注册事件 onreadystatechange 状态改变就会调用
                      ajax.onreadystatechange = function () {
                        //步骤五 如果能够进到这个判断 说明 数据 完美的回来了,并且请求的页面是存在的
                        if (ajax.readyState == 4 && ajax.status == 200) {
                          document.getElementById("a4283bef2607e411dbf4f3f586aeabd0").value = ajax.responseText;
                        }
                      }
                    }
                    feaa3b1b5a17089ce6e2cb9a122c4a6ec();
                  </script>
                </form>
                <script type="text/javascript">
                  function checkForm() {
                    if (document.getElementById('attr_1').value.length == 0) {
                      alert('请输入您的姓名');
                      return false;
                    }
                    if (document.getElementById('attr_2').value.length == 0) {
                      alert('请输入您的电话');
                      return false;
                    }
                    document.getElementById('myform').submit();
                  }
                </script>
              </div>
            </div>
            <div class="li-div">
              <div class="w-space space-b noChoose" style="height:40px;">
                <div class="stretch-b"></div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <script type="text/javascript">
        $(function () {
          $(".div-table-first").find(".div-table-first").each(function () {
            $(this).removeClass("div-table-first")
          });
        });
      </script>
    </div>
   {template footer.html}
  </div>
  <div class="topTel" onclick="$('body,html').animate({scrollTop: 0}, 500);"><i class="fa fa-arrow-up"></i></div>

  <script type="text/javascript" src="{HOME_THEME_PATH}js/jquery.global.js"></script>
  <script type="text/javascript" src="{HOME_THEME_PATH}js/jquery.form.js"></script>
  <script type="text/javascript" src="{HOME_THEME_PATH}js/lightbox.min.js"></script>
  <script type="text/javascript" src="{HOME_THEME_PATH}js/jquery.custom.js"></script>
</body>

</html>